package com.spsy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spsy.common.core.annotation.Excel;
import com.spsy.common.core.web.domain.BaseEntity;

/**
 * 商品信息对象 project_info
 * 
 * @author 孙帆科
 * @date 2024-11-16
 */
public class ProjectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String introduction;

    /** 主类型 */
    @Excel(name = "主类型")
    private String mianType;

    /** 父类型 */
    @Excel(name = "父类型")
    private String parentType;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String type;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 商品轮播图 */
    @Excel(name = "商品轮播图")
    private String carouselImages;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String status;

    /** 规格 */
    @Excel(name = "规格")
    private Long ruleId;

    /** 品牌 */
    @Excel(name = "品牌")
    private Long brandId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setMianType(String mianType) 
    {
        this.mianType = mianType;
    }

    public String getMianType() 
    {
        return mianType;
    }
    public void setParentType(String parentType) 
    {
        this.parentType = parentType;
    }

    public String getParentType() 
    {
        return parentType;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setCarouselImages(String carouselImages) 
    {
        this.carouselImages = carouselImages;
    }

    public String getCarouselImages() 
    {
        return carouselImages;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("introduction", getIntroduction())
            .append("mianType", getMianType())
            .append("parentType", getParentType())
            .append("type", getType())
            .append("image", getImage())
            .append("carouselImages", getCarouselImages())
            .append("status", getStatus())
            .append("ruleId", getRuleId())
            .append("brandId", getBrandId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
